package lab01;

import java.io.IOException;
public class Test07 {
    public static void main(String[] args)
            throws IOException {
        System.out.println("请输入学生成绩等级：");
        char scale=(char)System.in.read();
        switch (scale){
            case 'A':
                System.out.println("grade>=85");
                break;
            case 'B':
                System.out.println("70<=grade<85");
                break;
            case 'C':
                System.out.println("60<=grade<70");
                break;
            case 'D':
                System.out.println("grade<60");
                break;

        }

    }
}

